package com.ruoyi.admin.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 科室信息对象 t_department
 * 
 * @author ruoyi
 * @date 2022-10-23
 */
public class Department extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 科室id */
    private Long deptId;

    /** 医院ID */
    @Excel(name = "医院ID")
    private Long hospitalId;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String departmentName;

    /** 对接人ID */
    @Excel(name = "对接人ID")
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long shareholderId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long distributor1;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long distributor2;

    /** 科室银行卡号 */
    @Excel(name = "科室银行卡号")
    private String cardNo;

    /** 维修人员ID */
    @Excel(name = "维修人员ID")
    private Long ascendantId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String departPhone;

    /** 收益分成% */
    @Excel(name = "收益分成%")
    private BigDecimal gainSharing;

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setHospitalId(Long hospitalId) 
    {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId() 
    {
        return hospitalId;
    }
    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setShareholderId(Long shareholderId) 
    {
        this.shareholderId = shareholderId;
    }

    public Long getShareholderId() 
    {
        return shareholderId;
    }
    public void setDistributor1(Long distributor1) 
    {
        this.distributor1 = distributor1;
    }

    public Long getDistributor1() 
    {
        return distributor1;
    }
    public void setDistributor2(Long distributor2) 
    {
        this.distributor2 = distributor2;
    }

    public Long getDistributor2() 
    {
        return distributor2;
    }
    public void setCardNo(String cardNo) 
    {
        this.cardNo = cardNo;
    }

    public String getCardNo() 
    {
        return cardNo;
    }
    public void setAscendantId(Long ascendantId) 
    {
        this.ascendantId = ascendantId;
    }

    public Long getAscendantId() 
    {
        return ascendantId;
    }
    public void setDepartPhone(String departPhone) 
    {
        this.departPhone = departPhone;
    }

    public String getDepartPhone() 
    {
        return departPhone;
    }
    public void setGainSharing(BigDecimal gainSharing) 
    {
        this.gainSharing = gainSharing;
    }

    public BigDecimal getGainSharing() 
    {
        return gainSharing;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deptId", getDeptId())
            .append("hospitalId", getHospitalId())
            .append("departmentName", getDepartmentName())
            .append("userId", getUserId())
            .append("shareholderId", getShareholderId())
            .append("distributor1", getDistributor1())
            .append("distributor2", getDistributor2())
            .append("cardNo", getCardNo())
            .append("createTime", getCreateTime())
            .append("ascendantId", getAscendantId())
            .append("departPhone", getDepartPhone())
            .append("gainSharing", getGainSharing())
            .toString();
    }
}
